package com.blb.service.user;

import com.blb.pojo.User;

public interface IUserService {

    /**
     * 添加用户
     * @return
     */
    void register(User user) throws Exception;

    /**
     * 登录密码验证
     * @param user
     * @return
     * @throws Exception
     */
    User login(User user) throws Exception;

    User getByName(String name) throws Exception;
}
